import _fetch from './request.js'
function getCode (mobile) {
  return _fetch({
    url: '/app/v1_0/sms/codes/'
  })
}
function goSubmit (data) {
  return _fetch({
    url: '/app/v1_0/authorizations',
    method: 'post',
    data
  })
}

export { getCode, goSubmit }
